﻿using Autodesk.Windows;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media.Imaging;

namespace HPDIConfigMaster
{
    public static class RibbonButtonInfos
    {
        #region 智能设计项目
       
        //系统设置按钮
        private static RibbonButtonEX sysSetting;
        public static RibbonButtonEX SYSSetting
        {
            get
            {
                sysSetting = new RibbonButtonEX("系统设置", RibbonItemSize.Large, Orientation.Vertical, "sys");
                sysSetting.SetImg(CurPaht.curPaht + "Images\\设置.png");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "系统设置";
                toolTip.Content = "系统设置";
                toolTip.Command = "sys";
                toolTip.ExpandedContent = "用sys命令，打开设置界面进行配置";
                string imgToolTipFileName = CurPaht.curPaht + "Images\\设置.png";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                sysSetting.ToolTip = toolTip;
                //鼠标进入时的图片
                sysSetting.ImgHoverFileName = CurPaht.curPaht + "Images\\点击.png";
                return sysSetting;
            }
        }
     
        #endregion
    }
}